import React, { Component } from 'react';

export const themes = {
  light: {
    foreground: '#000000',
    background: '#eeeeee',
  },
  dark: {
    foreground: '#ffffff',
    background: '#222222',
  },
};

// onAddFn
// ThemeContext
// AboutContext
// HomeContext
//
// getApiCfg
//
// content_hd
// content_bd
// content_ft
//
// nav_hd
// nav_bd
// nav_ft


export const ThemeContext = React.createContext(
  themes.dark // 默认值
);





// export const ThemeContext = React.createContext('light');
